[webbrowser component]

Posted by Eduardo Ghidini on Stack Overflow See other posts from Stack Overflow or by Eduardo Ghidini
Published on 2012-06-06T16:35:21Z Indexed on 2012/06/06 16:40 UTC
Read the original article Hit count: 260

Filed under:
|

I'm using webbrowser component to show an page of articles. My webbrowser will, if the user read an article, to mark it like read. So, i'm need to each articles of the page (these articles are dynamic) and verify, in a local xml how articles are read.To article read i'm set a determinated css class,and if not, another css class. To do it, i'm checking all elements of type "DIV" in page using this code line:

HtmlElementCollection col = webBrowser.Document.GetElementsByTagName("div");

I'm wanna filter the div's to get only 'divs' that i will change and not all div's of page

Somebody can help me? Thanks

© Stack Overflow or respective owner

Related posts about c#

Related posts about webbrowser